Imports System.Web
Imports System.Xml
Imports System.Collections.Generic
Imports System.Security.Cryptography
Imports System.Web.Configuration
Imports DnnPerm = DotNetNuke.Security.Permissions
Imports DnnRoles = DotNetNuke.Security.Roles
Imports DnnFS = DotNetNuke.Services.FileSystem
Imports System.ServiceModel
Imports System.Runtime.Serialization

Namespace DotNetNuke.Modules.IWebCF
#Region "Info Classes"


    <DataContract(), Serializable()> _
    Public Class FolderInfoDataContract
        Implements IWebFolderInfo
        Private info As New DnnFS.FolderInfo

        Private folderNameField As String = String.Empty


        Public Sub New()

        End Sub

        Public Sub New(ByVal id As Integer, ByVal name As String)
            Me.info.FolderID = id
            Me.folderNameField = name

        End Sub

        Public Sub New(ByVal info As DnnFS.FolderInfo)
            Me.info = info

        End Sub

        <DataMember()> _
        Public Property FolderId() As Integer Implements IWebFolderInfo.FolderId
            Get
                Return Me.info.FolderID
            End Get
            Set(ByVal value As Integer)
                Me.info.FolderID = value
            End Set
        End Property

        <DataMember()> _
        Public Shadows Property FolderName() As String Implements IWebFolderInfo.FolderName
            Get
                Return folderNameField
            End Get
            Set(ByVal value As String)
                Me.folderNameField = value
            End Set
        End Property



    End Class

#End Region
End Namespace
